<?php
if(!isset($MAIN)){
	include_once("includes/class.ibnbd.php");
	$MAIN = new MAIN();
}
$MAIN->users->checkLogin(true);
?>
<div class="activ">
<h2>Sök fil : <input type="text" name="txt_search" id="txt_search"/></h2>
<div id="search_results">
	
</div>
<script type="text/javascript">
$('txt_search').addEvent('keyup',function(){
	ajaxGet('documents.php','s='+this.value,$('search_results'));
});
</script>
</div>